package com.hall.service;

import com.hall.dao.LearningApplyMapper;
import com.hall.pojo.LearningApply;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class LearningApplyServiceImpl implements LearningApplyService {


    public void setLearningApplyMapper(LearningApplyMapper learningApplyMapper) {
    }


    @Autowired
    private LearningApplyMapper learningApplyMapper;


    /**
     * 新增学术会议申请表
     *
     * @param learningApply 学术会议申请表
     * @return 结果
     */
    @Override
    public int insertLearningApply(LearningApply learningApply) {
        return learningApplyMapper.insertLearningApply(learningApply);
    }

    @Override
    public List<LearningApply> selectResult() {
        return learningApplyMapper.selectResult();
    }

    @Override
    public List<LearningApply> selectByTell() {
        return learningApplyMapper.selectByTell();
    }

    @Override
    public List<LearningApply> selectLearningTimeWith() {
        return learningApplyMapper.selectLearningTimeWith();
    }


    @Override
    public List<LearningApply> selectLearningTimeAgreed() {
        return learningApplyMapper.selectLearningTimeAgreed();
    }

    @Override
    public List<LearningApply> selectLearningTimeFinish() {
        return learningApplyMapper.selectLearningTimeFinish();
    }


}
